//
//  TencentViewController.h
//  tcpoctest
//
//  Created by 123456 on 13-8-5.
//  Copyright (c) 2013年 gump. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonViewController.h"
#import <TencentOpenAPI/TencentOAuth.h>

@interface TencentViewController : CommonViewController<UIWebViewDelegate,NSURLConnectionDataDelegate>
{
    UIWebView * tencentWebV;//qq登陆和授权页
    UIActivityIndicatorView * activityView;
    
    TencentOAuth   *  _tencentOAuth;
    NSArray        *  _permissions;//qq中打开的选项
    NSString       *  _encodedValue;//URLEncode编码
    NSString       *  _codeString;//qq授权的临时令牌code值
    NSMutableData  *  _recieveData;//可变data,用来接收数据
    int flag;//进入connection的次数的标记
}

@property(nonatomic,retain)NSString * navigationTitle;
@property(nonatomic,strong)NSMutableArray * tokenArray;//需要传输的数据

@end
